package io.seata.sample.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class SeataConfig {

    @Bean
    public GlobalTransactionScanner globalTransactionScanner(){

        return new GlobalTransactionScanner("seata-server","logistics_sharding_tx_group");
    }
}
